with open("a.txt",encoding="utf_8") as file:
    data = file.read()
    print(data)
with open("lrl.txt", "w", encoding="utf_8") as file:
    file.write("1---with添加语句\n")
    file.write("2---with添加语句\n")
with open("lrl.txt", encoding="utf_8") as file:
     content = file.read()
     print(content)